/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tetrisbattle;

import java.awt.Dimension;

/**
 *
 * @author intel
 */
public class DimensionHandler {
    Dimension dim;
    int number;
    
    public DimensionHandler(int x, int y, int number){
        this.dim = new Dimension(x, y);
        this.number = number;
    }
    
    public Dimension getDimensions(int number){
        return this.dim;
    }
    
    public int getNumber(int x, int y){
        return this.number;
    }
}
